REM (C)2010 David Jones
REM Thanks to Mike Hall

REM CEContentWiz
@echo off
@echo Executing CEContentWiz Postlink.bat
@echo http://CEContentWiz.codeplex.com
@echo .

if %_WINCEOSVER%WXYZ == WXYZ GOTO SKIP

@echo copying Content Files from Resource Files folder to Targeted Debug Directory
if %_WINCEOSVER%==600 (
copy "%BUILDROOT%\Resources\*.*" "%_PROJECTROOT%\cesysgen\oak\target\%_TGTCPU%\%WINCEDEBUG%" /Y
) else if %_WINCEOSVER%==700 (
copy "%BUILDROOT%\Resources\*.*" "%SG_OUTPUT_ROOT%\oak\target\%_TGTCPU%\%WINCEDEBUG%"  /Y
) else (
echo Compact/CE Version:%_WINCEOSVER%  Not supported
)

@echo .

@echo copying Content Files from Resource Files folder to FlatRelease Directory
copy "%BUILDROOT%\Resources\*.*" %_FLATRELEASEDIR%  /Y
@echo .

@echo Done Copying
@echo .

:SKIP

